<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<div style="margin-bottom: 20px;">
    <span style="font-size: 30px">多基地分区配置</span>
</div>
<div class="textboxes">

    <div class="form-inline group-margin">

        <div class="form-group">
            <label>地区名称:</label>
            <input kendo-auto-complete ng-trim="true" ng-model="param.fname" class="myinput">
        </div>
        <div class="form-group">
            <label>分区名称:</label>
            <input kendo-auto-complete ng-trim="true" ng-model="param.cname" class="myinput">
        </div>
        <div class="form-group">
            <label>分区代码:</label>
            <input kendo-auto-complete ng-trim="true" ng-model="param.ename" class="myinput">
        </div>
        <div class="form-group">
            <kendo-button class="k-primary" ng-click="query()">查询</kendo-button>
            <kendo-button class="k-primary" ng-click="clear()">清空</kendo-button>
        </div>
    </div>
</div>
<div class="table-responsive">
    <div kendo-grid="gridForm"
         k-options="gridFormOptions"
         k-on-edit="gridFormRowEdit(kendoEvent)">
        <div k-detail-template>
            <div>
                <div kendo-grid="detailGrid" k-options="detailGridOptions(dataItem)"
                     k-on-edit="gridDetailRowEdit(kendoEvent)"
                     k-on-change="gridDetailRowClick(data, dataItem, columns)"></div>
            </div>
        </div>
    </div>
</div>

<div kendo-window="win" k-options="winOptions" k-title="win.title"
     k-visible="false">
    <div class="demo-section k-content">
        <ul class="textboxes">
            <li><label>ip：</label>
                <input kendo-auto-complete ng-model="detail.ip"></li>
            <li><label>host：</label>
                <input kendo-auto-complete ng-model="detail.host"></li>
        </ul>
    </div>
    <div class="form-group">
        <div class="col-sm-4 col-sm-offset-2">
            <kendo-button class="k-button k-primary"  ng-click="save()">确定</kendo-button>&nbsp;
            <kendo-button class="k-button" ng-click="cancel()">取消</kendo-button>
        </div>
    </div>
</div>
